<template>
  <div id="app">
       <!--<keep-alive  >
          <router-view/>
       </keep-alive>-->
       <keep-alive>
    <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!($route.meta.keepAlive)"></router-view>
  </div>
</template>

<style lang="stylus">

</style>
<script type='text/javascript'>
    
export default {
  data () {
    return {}
  },
  computed: {
    keepAlive () {
      return this.$store.getters.keepAlive
    }
  },
  mounted(){ 
      
  }
}
</script>
